<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags" %>
   <!doctype html>
 <html lang="zh-CN">
 <head>
   <base href="<%=basePath%>">
   <meta charset="UTF-8">
   <link rel="stylesheet" href="css/common.css">
   <link rel="stylesheet" href="css/main.css">
   <link rel="stylesheet" href="css/pintuer.css">
   <script type="text/javascript" src="js/jquery.min.js"></script>
   <script type="text/javascript" src="js/colResizable-1.3.min.js"></script>
   <script type="text/javascript" src="js/common.js"></script>
   <script src="js/pintuer.js"></script>
   
   <script type="text/javascript">
      $(function(){  
        $(".list_table").colResizable({
          liveDrag:true,
          gripInnerHtml:"<div class='grip'></div>", 
          draggingClass:"dragging", 
          minWidth:30
        }); 
        
      }); 
   </script>
   <title>Document</title>
 </head>
 <body>
      
     <div id="forms" class="mt10">
        <div class="box">
          <div class="box_border">
       <div class="box_top"><b class="pl15">老师信息修改</b></div>
            <div class="box_center">
              <form action="<%=path %>/admin/teacher_update.action" class="jqtransform" method="post">
                <table class="form_table pt15 pb15" width="100%" border="0" cellpadding="0" cellspacing="0" >
                <tr>
                  <td class="">
                   <input  name="teacher.id" type="hidden" value='<s:property value="teacher.id" />'>
                  <table class="form_table pt15 pb15" width="100%" border="0" cellpadding="0" cellspacing="0" >
                    <tr class="form-group">
                      <td class="td_right">姓名：</td>
                       <td class="field">
                       <input type="text" name="teacher.teachName" class="input-text lh30" size="40"
                       value='<s:property value="teacher.teachName" />'
                        placeholder="请输入姓名" data-validate="required:姓名不能为空">
                       </td>
                    </tr>
                     <tr >
                      <td class="td_right">性别：</td>
                   <td class="">
                    <input type="radio" name="teacher.teachSex" value="0"<s:if test="teacher.teachSex==0">checked="checked"</s:if>> 男
                    <input type="radio" name="teacher.teachSex" value="1" <s:if test="teacher.teachSex==1">checked="checked"</s:if>> 女
                  </td>
                    </tr>
                     <tr class="form-group">
                      <td class="td_right">学院：</td>
                      <td class="field"><input type="text" name="teacher.academy" class="input-text lh30" size="40"
                            value='<s:property value="teacher.academy" />'
                        placeholder="请输入学院" data-validate="required:学院不能为空"></td>
                    </tr>
                    <tr class="form-group">
                      <td class="td_right">班别：</td>
                      <td class="field"><input type="text" name="teacher.gradeClass" class="input-text lh30" size="40"
                           value='<s:property value="teacher.gradeClass" />'
                        placeholder="请输入班别" data-validate="required:班别不能为空"></td>
                    </tr>
                      <tr class="form-group">
                      <td class="td_right">部门：</td>
                      <td class="field"><s:property value="teacher.branch" />
                        <input  name="teacher.branch" type="hidden" value='<s:property value="teacher.branch" />'>
                      </td>
                      
                    </tr>
                    <tr class="form-group">
                      <td class="td_right">岗位：</td>
                      <td class="field"><s:property value="teacher.quarters" />
                        <input  name="teacher.quarters" type="hidden" value='<s:property value="teacher.quarters" />'>
                        <input  name="teacher.password" type="hidden" value='<s:property value="teacher.password" />'>
                      </td>
                    </tr>
                    <tr>
                      <td class="td_right"></td>
                      <td class=""><input type="submit" name="button" class="btn btn82 btn_save2" value="保存">
                        <input type="button" name="button" class="btn btn82 btn_res" value="重置">
                        &nbsp;</td>
                    </tr>
                  </table></td>
                </tr>
                </table>
              </form>
            </div>
          </div>
        </div>
     </div>
   </div> 
 </body>
 </html>
  